package crazy.memory;

public class StaticThreadInit
{
	static
	{
		Thread t = new Thread(){
			@Override
			public void run()
			{
				System.out.println("into run()");
				System.out.println(website);
				website = "www.leegang.org";
				System.out.println("out run()");
				//System.out.println(website);
				super.run();
			}
		};
		t.start();
		try
		{
			//t.join();
			System.out.println(Thread.currentThread().getName()+"...............");
			Thread.sleep(1);
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}
	}
	static String website = "www.crazyit.org";
	public static void main(String[] args)
	{
		System.out.println(StaticThreadInit.website);
	}
}
